home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{338F8051-2A48-11D2-A504-B04F7BC18D07}#4.0#0"; "FSAniIcon.ocx"
- Begin VB.Form Form1
- BorderStyle = 4 'Fixed ToolWindow
- Caption = "FS AnimIcon"
- ClientHeight = 1395
- ClientLeft = 45
- ClientTop = 285
- ClientWidth = 2115
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 1395
- ScaleWidth = 2115
- ShowInTaskbar = 0 'False
- StartUpPosition = 1 'CenterOwner
- Begin VB.TextBox Text2
- Alignment = 2 'Center
- Height = 285
- Left = 0
- TabIndex = 5
- Text = "Display Mouse Button Click"
- Top = 1080
- Width = 2115
- End
- Begin VB.CheckBox Check2
- Caption = "Show Icon"
- Height = 195
- Left = 240
- TabIndex = 4
- Top = 120
- Width = 1095
- End
- Begin VB.TextBox Text1
- Height = 285
- Left = 60
- TabIndex = 2
- Top = 720
- Width = 615
- End
- Begin VB.CheckBox Check1
- Caption = "Animated"
- Height = 195
- Left = 240
- TabIndex = 1
- Top = 420
- Width = 1035
- End
- Begin FSAniIcon.FSAnimIcon FSAnimIcon1
- Height = 510
- Left = 1500
- TabIndex = 0
- Top = 120
- Width = 510
- _ExtentX = 900
- _ExtentY = 900
- IconToolTipText = "Fantastic Animated Icons"
- AnimationRate = 30
- Frames = 12
- IconFilename = "F:\VB5\!me\FS\FS AnimIcon\Anims\SpinningCD.1.ico"
- End
- Begin VB.Label Label1
- Caption = "Animation Speed"
- Height = 195
- Left = 780
- TabIndex = 3
- Top = 780
- Width = 1215
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Check1_Click()
- FSAnimIcon1.Animated = Check1.Value
- End Sub
- Private Sub Check2_Click()
- FSAnimIcon1.TaskBarIcon = Check2.Value
- End Sub
- Private Sub Form_Load()
- Text1.Text = FSAnimIcon1.AnimationRate
- End Sub
- Private Sub FSAnimIcon1_LMDClick()
- Text2.Text = "Double Left Click"
- End Sub
- Private Sub FSAnimIcon1_LMDown()
- Text2.Text = "Left Button Down"
- End Sub
- Private Sub FSAnimIcon1_LMUp()
- Text2.Text = "Left Button Up"
- End Sub
- Private Sub FSAnimIcon1_RMDClick()
- Text2.Text = "Right Double Click"
- End Sub
- Private Sub FSAnimIcon1_RMDown()
- Text2.Text = "Right Button Down"
- End Sub
- Private Sub FSAnimIcon1_RMUp()
- Text2.Text = "Right Button Up"
- End Sub
- Private Sub Text1_Change()
- If Len(Text1.Text) <> 0 Then FSAnimIcon1.AnimationRate = Text1.Text
- End Sub
- Private Sub Text1_KeyPress(KeyAscii As Integer)
- ' Place This In Any TextBox.KeyPress Property
- If InStr("0123456789", Chr$(KeyAscii)) = 0 And KeyAscii > 31 Then KeyAscii = 0
- End Sub
-